package com.gaoboy.springbootgoods.service.impl;

import com.gaoboy.springbootgoods.mapper.OrderItemMapper;
import com.gaoboy.springbootgoods.mapper.OrderMapper;
import com.gaoboy.springbootgoods.service.OrderItemService;
import com.gaoboy.springbootgoods.vo.OrderItemVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderItemServiceImpl implements OrderItemService {

    @Autowired
    private OrderItemMapper orderItemMapper;


    @Override
    public List<OrderItemVo> queryByOrderNum(String orderNum) {
        return orderItemMapper.queryByOrderNum(orderNum);
    }
}
